<?php
	$filename = "xml/gamedata.xml";
	$xml = $_POST['xml'];
	//error_log("XML = $xml");

	$file = fopen($filename, "w+");	
	fwrite($file, $xml);
	fclose($file);
	
	//header("Content-type: text/xml");
	//echo $xml;
?>
